package team.seekers.skill.entity.vo.admin.add;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class AdminSectionAddVO {


    private String skillId;

    private String chapterId;

    @NotBlank(message = "节的标题不能为空")
    private String title;

    @NotNull(message = "节的次序不能为空")
    private Integer sequence;

//    @NotNull(message = "博客不能为空")
    private List<AdminBlogAddVO> blogAddVOList;

    @NotNull(message = "视频不能为空")
    private List<AdminVideoAddVO> videoAddVOList;

}
